package com.ys.day27.p7线程局部变量ThreadLocal;

/**
 * 描述: 学生是一个共享资源:交给ThreadLocal 线程局部变量来管理
 *
 * @author CodeYang
 * @version 2021/1/7 1:15
 */
public class Student {

    private int id;

    public Student() {
    }

    public Student(int id) {
        this.id = id;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
